/*
============================================================================
 Name        : myJpegApplication.cpp
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "myJpegDocument.h"
#include "myJpegApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidmyJpegApp = { 0xe79dbda0 };

// -----------------------------------------------------------------------------
// CmyJpegApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CmyJpegApplication::CreateDocumentL()
    {
    // Create an myJpeg document, and return a pointer to it
    return (static_cast<CApaDocument*>
                    ( CmyJpegDocument::NewL( *this ) ) );
    }

// -----------------------------------------------------------------------------
// CmyJpegApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CmyJpegApplication::AppDllUid() const
    {
    // Return the UID for the myJpeg application
    return KUidmyJpegApp;
    }

// End of File
